package com.mg.common.exception;

import lombok.NoArgsConstructor;

/**
 * 所有dao层自定义异常的父类
 */
@NoArgsConstructor
public class DaoException extends BaseException{
    public DaoException(MGExceptionEnum enu) {
        super(enu);
    }

    public DaoException(Integer code, String msg) {
        super(code, msg);
    }

}
